package com.timoon.component.panel.wizard;

import org.apache.wicket.extensions.wizard.StaticContentStep;
import org.apache.wicket.extensions.wizard.Wizard;
import org.apache.wicket.extensions.wizard.WizardModel;
import org.apache.wicket.markup.html.panel.Panel;

import com.timoon.sample.dao.model.TUser;

/**
 *<p>向导</p>
 *<p></p>
 *<p>Copyright:Copyright(c)2013</p>
 *<p>Company:timoon</p>
 *@author 付乐天
 *@version 1.0 */

public class WizardPanel extends Panel {
	private static final long serialVersionUID = -9114637244296194252L;

	public WizardPanel(String id) {
		super(id);
		// TODO Auto-generated constructor stub
		
		WizardModel model=new WizardModel();
		
		TUser user=new TUser();
		
		model.add(new StaticContentStep("first","capion","content",true));
		
		model.add(new TestWizardStep("321", "5845"));
		
		Wizard wizard=new Wizard("wizard",model);
		
		add(wizard);
	}

}
